package com.easylive.entity.request.uhome;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.*;

/**
 * @Author: yudaxian
 * @DateTime: 2024/12/2 17:03
 **/
@Data
public class WebUHomeUpdateUserInfoReqVO {

    @NotBlank
    @Size(max = 20)
    private String nickName;

    @NotBlank
    @Size(max = 150)
    private String avatar;

    @NotNull
    @Max(2)
    @Min(0)
    private Integer sex;

    @Size(max = 200)
    private String noticeInfo;

    @Size(max = 200)
    private String personIntroduction;

    private Integer grade;

    @Size(max = 50)
    private String school;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String birthday;

    private Integer fansCount;

    private Integer focusCount;

    private Integer likeCount;

    private Integer playCount;

    private Integer haveFocus;

    private Integer theme;
}
